/* 通用 */
.form-generator-wrap {
  padding: 20px;
  .baseInfo{
    .el-card__body {
      padding: 10px 20px 20px 20px;
    }
  }
  /* 卡片 */
  .el-card__header {
    font-size: 18px;
    padding: 14px 20px 14px;
    line-height: 26px;
    .tip {
      font-weight: 400;
      font-size: 12px;
      color: #898A8C;
      line-height: 20px;
      margin-left: 6px;
    }
    .drawing-item {
      padding: 0px !important;
    }
  }
  .el-card {
    border-radius: 8px;
    border-color: #fff;
  }
  /* 表单元素 */
  .el-radio-button__orig-radio:checked + .el-radio-button__inner,
  .el-radio__input.is-checked .el-radio__inner,
  .el-checkbox__input.is-checked .el-checkbox__inner {
    background-color: #1A7AFF;
    border-color: #1A7AFF;
  }
  .el-radio__input.is-checked + .el-radio__label,
  .el-checkbox__input.is-checked + .el-checkbox__label,
  .el-tabs__item.is-active {
    color: #1A7AFF;
  }
  .el-select .el-input.is-focus .el-input__inner {
    border-color: #1A7AFF;
  }
  .el-radio__input.is-checked {
    width: 14px;
    height: 14px;
    overflow: hidden;
    position: relative;
  }
  .el-radio__input.is-checked .el-radio__inner {
      background: #fff;
      &:after {
          background: #1A7AFF;
          width: 8px;
          height: 8px;
      }
  }
  /* 表单项 */
  .el-form-item--mini {
    &.el-form-item {
      margin-bottom: 0;
    }
    .el-form-item__label {
      line-height: 32px;
    }
    .el-form-item__content {
      line-height: 32px;
    }
    .el-input__inner {
      height: 32px;
      line-height: 32px;
      padding: 0 12px;
      font-size: 14px;
    }
  }
  .el-form-item__tip{
    margin-top: 5px;
    font-size: 12px;
  }
  .el-form-item.is-required > .el-form-item__label {
    &:before {
        display: inline !important;
        content: '*' !important;
        color: #F56C6C !important;
        margin-right: 2px !important;
    }
    &:after {
        display: none !important;
    }
  }
  /* 图片上传 */
  .el-upload--picture-card{
    width: 80px;
    height: 80px;
    line-height: 80px;
    .el-upload--picture-card i {
      font-size: 16px;
      color: #000;
    }
  }
}
/* 编辑 */
.edit-from-generator-wrap {
  height: calc(100vh - 97px);
  /* 左侧 */
  .left-board {
    top: 0px;
    width: 260px;
    padding-left: 0;
    .left-scrollbar{
      height: calc(100vh - 137px);
    }
    .el-scrollbar__view, .el-card{
      height: 100%;
      overflow: auto;
    }
    .el-card__header{
      font-weight: bold;
    }
    .el-card__body {
      padding-top: 20px;
      height: calc(100% - 55px);
      overflow-y: auto;
    }
  }
  /* 中间 */
  .center-board {
    margin: 17px 338px 0 270px;
  }
  .center-board-row{
    padding-bottom: 0;
  }
  .center-scrollbar {
    max-height: calc(100vh - 172px);
  }
  .drawing-board {
    .el-card__body {
      padding: 0px 5px 20px 5px;
    }
  }
  .drawing-row-item {
    margin:  0 0 20px 0 !important;
    padding: 0 !important;
    border-radius: 8px;
    &:last-child {
      margin-bottom: 0;
      padding-bottom: 0 !important;
    }
  }
  .drawing-item .el-form-item--label-top {
    padding: 0px 5px 5px 5px;
  }
  /* 右侧 */
  .right-board {
    top: 0px;
    width: 340px;
    right: -5px;
    .field-box {
      height: calc(100vh - 130px);
    }
    .el-scrollbar__view, .el-card{
      height: 100%;
    }
    .el-card {
      overflow-y: auto;
    }
    .el-card__body {
      padding: 20px;
    }
    .el-form--label-top{
      .el-form-item__label{
        margin-bottom: 4px;
      }
    }
    .el-form-item--small.el-form-item,
    .el-form-item__label{
      line-height: 22px;
    }
    .el-input__inner {
      font-size: 14px;
    }
  }
  /* 底部 */
  .control-bottom {
    padding: 0px 10px 20px 10px;
  }
}
